package com.yykj.tencent.im.server.bean.callback;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.util.List;

/**
 * 添加好友回应之前回调
 *
 */
@Data
@JsonInclude(JsonInclude.Include.NON_NULL)
public class PrevFriendResponseCallback {
    @JsonProperty("CallbackCommand")
    private String callbackCommand;

    @JsonProperty("Requester_Account")
    private String requesterAccount;

    @JsonProperty("From_Account")
    private String fromAccount;

    @JsonProperty("ResponseFriendItem")
    private List<ResponseFriendItem> responseFriendItem;

    @JsonProperty("EventTime")
    private Long eventTime;

    @Data
    public static class ResponseFriendItem {
        @JsonProperty("To_Account")
        private String toAccount;

        @JsonProperty("Remark")
        private String remark;

        @JsonProperty("TagName")
        private String tagName;

        @JsonProperty("ResponseAction")
        private String responseAction;
    }
}
